<?php

namespace App\Models;

use Illuminate\Support\Facades\DB;


/**
 * App\Models\GoodsCart
 *
 * @property int $id
 * @property int|null $user_id 用户id
 * @property int|null $goods_id 商品id
 * @property int|null $num 商品数量
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart query()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsCart whereUserId($value)
 * @mixin \Eloquent
 */
class GoodsCart extends Base
{
    protected $table = 'goods_cart';
}
